/**
 * 后台评论管理接口
 */
import request from "../utils/request.js";

const URL_PREFIX = '/admin/comment'
export default {
    getCommentList(queryDto) {
        return request({
            method: 'post',
            url: `${URL_PREFIX}/page`,
            data: queryDto
        })
    },

    deleteComment(commentId){
        return request({
            method:'delete',
            url:`${URL_PREFIX}/delete/${commentId}`
        })
    }

}